package com.oracle.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import com.oracle.pojo.Record;
import org.apache.ibatis.annotations.Param;

public interface RecordMapper extends BaseMapper<Record> {
    IPage<Record> findRecordPage(IPage<Record> page, @Param("ew") QueryWrapper<Record> queryWrapper);
    Record findOneRecord(@Param("ew") QueryWrapper<Record> queryWrapper);
    int updataRecord(@Param("record") Record record , @Param("ew") QueryWrapper<Record> queryWrapper);
}
